#include <stdio.h>

int main(int argc, char *argv[]) {

    int n = 0;
    scanf("%d", &n);
    int nums[n];
    for (int i = 0; i < n; i++)
    {
        scanf("%d", &nums[i]);
    }

    for (int i = n-1; i >= 0; i--)
    {
        printf("%d ", nums[i]);
    }
    
    

    return 0;
}